PDF Plugin for Xojo

Page.SetSize Method (console safe)

Sets the page size to one of the standard sizes and also sets the direction.

SetSize(
   size as Page.PageSizeEnum,
   direction as Page.PageDirectionEnum)

Parameters

size
One of the standard sizes for a page. See the PageSizeEnum in the documentation to see what values are valid.
direction
Direction of the page. See the PageDirectionEnum in the documentation to see what values are valid.

Remarks

See Also

Page Class